package com.beiding.codecreater.render.java.boframe.common;

public class Quote {
    private BoData type;
    private String hName;
    private String name;
    public Quote(BoData type, String name) {
        this.type = type;
        setName(name);
    }
    public void setType(BoData type) {
        this.type = type;
    }
    public void setName(String name) {
        this.name = name;
        this.hName = name.substring(0, 1).toUpperCase();
        if (name.length() > 1) {
            this.hName += name.substring(1);
        }
    }
    public String gethName() {
        return hName;
    }
    public BoData getType() {
        return type;
    }
    public String getName() {
        return name;
    }
}
